package org.jeecg.modules.ws.util;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

@Data
@JacksonXmlRootElement(localName = "TX")
public class WyzlBalanceRequest {
    
    @JacksonXmlProperty(localName = "REQUEST_SN")
    private String requestSn;
    
    @JacksonXmlProperty(localName = "CUST_ID")
    private String custId;
    
    @JacksonXmlProperty(localName = "USER_ID")
    private String userId;
    
    @JacksonXmlProperty(localName = "PASSWORD")
    private String password;
    
    @JacksonXmlProperty(localName = "TX_CODE")
    private String txCode;
    
    @JacksonXmlProperty(localName = "LANGUAGE")
    private String language;
    
    @JacksonXmlProperty(localName = "TX_INFO")
    private TxInfo txInfo;
    
    @Data
    public static class TxInfo {
        @JacksonXmlProperty(localName = "ACC_NO")
        private String accNo;
        
        @JacksonXmlProperty(localName = "CURR_COD")
        private String currCod;
    }
} 